import pdfplumber as pp

# pdfreader = PyPDF2.PdfFileReader('C:/Users/HIAPAD/Desktop/List_of_Companies_2014.pdf')
# page_num = pdfreader.numPages  # 读取pdf页数======19
# for num in range(2569, page_num):
#     page = pdfreader.getPage(num)  # 获取第1页，第一页是0
#     l1 = page.extractText().split('\n')
#     print(l1)
with pp.open('C:/Users/HIAPAD/Desktop/Item/IndiaHistoryData/1980年注册公司名单.pdf') as pdf:
    first_page = pdf.pages[0]
    print(first_page.extract_tables())